package com.enhe.gck.pojo;
 import java.util.Date;
 import java.lang.String;
 import java.lang.Integer;
 import java.math.BigDecimal;
 import java.lang.Long;
 import java.lang.Float;
 import java.lang.Double;
 import com.kuangkie.carbon.record.Updatable;
 import com.kuangkie.carbon.record.annotation.Attribute;
 import com.kuangkie.carbon.record.annotation.CarbonRecord;
 import com.kuangkie.carbon.record.annotation.RecordCode;
 import com.alibaba.fastjson.annotation.JSONField;
 import com.kuangkie.carbon.uid.model.UidManager;

// 地点管理
@CarbonRecord("hwane18426")
public class Address implements Updatable{
    @JSONField(name="唯一编码")
    @RecordCode
    private Long id = UidManager.getLongUID();

    // 名称
    @JSONField(name="名称")
    @Attribute("hwan18428")
    private String name;

    // 是否删除
    @JSONField(name="是否删除")
    @Attribute("hwan18429")
    private boolean flagDelete;

    public boolean getFlagDelete() { 
        return flagDelete;
    }
    public void setFlagDelete(boolean flagDelete) {
        this.flagDelete = flagDelete;
    }
    public String getName() { 
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Long getId() { 
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Override
    public String getRecordCode() {
        return this.id==null ? null : this.id.toString();
    }
}